﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;
using System.Collections;
using Meqs.Entity.Views;

namespace Meqs.Logic.Interface
{
    public interface ITeacherEvalHistoryLogic : ICommonLogic<TeacherEvalHistory, int>
    {
        int UpdateStatus(Hashtable ht);

        /// <summary>
        /// 获取当前评价状态
        /// </summary>
        IList<TeacherEvalState> GetState(int schoolYear, int term, String schoolMark, IList<int> teacherList, int evalId);


        /// <summary>
        /// 获取当前评价状态
        /// </summary>
        IList<TeacherEvalState> GetState(int schoolYear, int term, String schoolMark, IList<int> teacherList, int evalId, int managerId);


        /// <summary>
        /// 获取指定学期的历史评估
        /// </summary>
        /// <param name="schoolYear"></param>
        /// <param name="term"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        TeacherEvalHistory GetHistoryRecordByTerm(int schoolYear, int term, string schoolMark);


        TeacherEvalHistory GetHistoryRecordByTerm(int historyId, int schoolYear, int term, string schoolMark);

        IList<StupidDemand> MakeAStupidDemand(int schoolYear, int term, int teacherID, string schoolMark);
    }
}
